package tpe.yana.testp1;


public class App {
    public static void main( String[] args ) {
        Model model = new Model(args.length > 0 ? Integer.valueOf(args[0]) : 8);
        View view = new TerminalView(model, args.length > 1 ? Boolean.valueOf(args[1]) : true);
        HanoiConstructor constructor = new RecursionBaseHanoiConstructor();

        Controller con = new Controller(model, view, constructor);
        con.run();
    }
}
